package tgc.edu.yzy.repostory;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.stereotype.Repository;

import tgc.edu.yzy.custom.CommonRepository;
import tgc.edu.yzy.entity.EimAdmin;
import tgc.edu.yzy.entity.EimUser;
@Repository
public interface UserRepository extends CommonRepository<EimUser, Integer>{

	Page<EimUser> findByEimadmins(Pageable pageable, EimAdmin id);

	Page<EimUser> findByEimadmins(Specification<EimUser> buildSpec, Pageable pageable, EimAdmin id);

	List<EimUser> findByEimadmins(EimAdmin find);

	long countByEimadmins(EimAdmin findById);

	
	
}
